<?php

namespace ApiWF\Model;
use Think\Model\ViewModel;

class MerchCommentsViewModel extends ViewModel {

    public $viewFields = array(
        'MerchComments'=>array('*'),
        'Users'=>array('user_nicename'=>'user_name','avatar', '_on'=>'Users.id=MerchComments.uid'),
    );
}